package cn.xiaopengstack.infrastructure.dao;

import cn.xiaopengstack.infrastructure.dao.po.AiClientToolMcp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author jiangyangang
* @description 针对表【ai_client_tool_mcp(MCP客户端配置表)】的数据库操作Mapper
* @createDate 2025-08-29 15:15:19
* @Entity cn.xiaopengstack.infrastructure.dao.po.AiClientToolMcp
*/
public interface AiClientToolMcpMapper {


    int insert(AiClientToolMcp record);

    int insertSelective(AiClientToolMcp record);

    int updateByPrimaryKeySelective(AiClientToolMcp record);

    int updateByPrimaryKey(AiClientToolMcp record);

    /**
     * 查找MCP客户端配置列表
     * @param transportType
     * @return
     */
    List<AiClientToolMcp> selectByMcpTransportType(@Param("transportType") String transportType);


    /**
     * 查询mcp工具
     * @param mcpId
     * @return
     */
    AiClientToolMcp queryByMcpId(@Param("mcpId") String mcpId);
}
